package com.colorful.insuranceproject.consts;

/**
 * Created by handsome-Bob on 2017/9/8.
 * <p>
 * 理赔状态码匹配
 */
public class ClaimsStatus {

    public static String judgeCaimsSatus(int index) {
        String text = "";
        switch (index) {
            case 1:
                text = "电子票据\n审核中";
                break;
            case 2:
                text = "开始理赔";
                break;
            case 3:
                text = "电子票据\n审核失败";
                break;
            case 4:
                text = "理赔撤销";
                break;
            case 5:
                text = "纸质票据\n审核中";
                break;
            case 6:
                text = "等待结算";
                break;
            case 7:
                text = "理赔失败";
                break;
            case 8:
                text = "理赔成功";
                break;
            case 9:
                text = "纸质票据\n审核失败";
                break;
        }
        return text;
    }

    public static String judgeInsuranceType(int index) {
        String text = "";
        switch (index) {
            case 0:
                text = "普通医疗保险金";
                break;
        }
        return text;
    }
}
